package com.qf.utils;


/**
 * Create by 周志豪 on 2022/8/15  11:45
 *
 * @authoe 周志豪
 * @veision 1.0
 * //TODO  想好了再去做
 * @since 1.0
 */

public class StringUtils {

     //判断当前的字符串是不是空
    public static boolean isEmpty(String source) {
        return source == null || "".equals(source.trim());//trim用来去除行首和行尾得空格
    }

     // 判断字符串的长度
    public static boolean isLenghtEnough(String source, int lenght) {
        return source.length() >= lenght;
    }



}
